package com.hgxd.exception;


import com.hgxd.result.ResultCodeEnum;
import lombok.Getter;

/**
 * @author wtf
 * @create 2023-07-12 17:02
 * @description :
 */
@Getter
public class ServiceException extends RuntimeException {
    private ResultCodeEnum resultCodeEnum;

    public ServiceException(ResultCodeEnum resultCodeEnum, String msg) {
        super(msg);
        this.resultCodeEnum = resultCodeEnum;
    }
}
